home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-0198
/
AMOSLIST
/
000169_amos-request@svcs1.digex.net_Sat Jan 31 05:30:57 1998.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
4KB
|
99 lines
>From amos-request@svcs1.digex.net Sat Jan 31 05:30:56 1998
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id FAA28147
for <mcox@access.digex.net>; Sat, 31 Jan 1998 05:30:56 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id EAA13061
for amos-out; Sat, 31 Jan 1998 04:32:45 -0500 (EST)
Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id EAA13058
for <amos-list@svcs1.digex.net>; Sat, 31 Jan 1998 04:32:45 -0500 (EST)
Received: from mago.agonet.it (mago.agonet.it [195.32.124.10])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id EAA17402
for <amos-list@access.digex.net>; Sat, 31 Jan 1998 04:32:43 -0500 (EST)
Received: from agonet.it (ghizzo@p126069.agonet.it [195.32.126.69])
by mago.agonet.it (8.8.5/8.8.5) with SMTP id KAA16142
for <amos-list@access.digex.net>; Sat, 31 Jan 1998 10:28:23 +0100
From: Pietro Ghizzoni <ghizzo@agonet.it>
Reply-To: ghizzo@agonet.it
To: Amos-List <amos-list@access.digex.net>
Date: Sat, 31 Jan 1998 10:29:05 +0100
Message-ID: <yam7335.297.1759673456@mail.agonet.it>
In-Reply-To: <yam7333.1170.1748437504@post8.tele.dk>
X-Mailer: YAM 1.3.5 - Amiga Mailer by Marcel Beck
Organization: Dairymen Soft
Subject: Re: Looooooooong Samples
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by svcs1.digex.net id EAA13059
Status: O
X-Status:
On 29-Gen-98, Jens Vang Petersen wrote: Looooooooong Samples
>Hello..
Hi!
>A request to all of you excelent sound-extension-people. Can any of you
>write a sample-replayer into your extension (or even a simple AMOS-
>procedure) that can handle long raw samples (+100.000 bytes) the only
>way I can find to replay those bloddy things is to call an external
>player like Play16.. Gah...
You can try this one.... it's a double buffered replayer wich use the GUI
Extension asynchronous commands for play&load datas at the same time :)
'**
'** $VER: SamPLay 1.0 (31-01-98)
'**
'** Asynchronous-Double buffered sample replayer
'**
'** � Copyright 1998 Pietro Ghizzoni - Dairymen Soft
'** FreeWare
'**
Reserve As Chip Work 10,10000
Reserve As Chip Work 11,10000
F$=Fsel$("**") : Open In 1,F$ : L=Lof(1) : Close
H=Tcp F Open(1,F$)
D=Tcp Get(1,Start(10),10000) : D=Tcp Get(1,Start(11),10000)
Sam Raw %1111,Start(10),10000,10000 : C=20000 : BUF=10 : BUF2=11
Do
Repeat : Until Sam Swapped(1)
If C>L Then Goto QUIT
Sam Swap %1111 To Start(BUF2),10000 : A=Tcp Read(1,Start(BUF),10000)
C=C+10000 : Swap BUF,BUF2
Loop
QUIT:
Tcp Close : End
--
Bye!
!!!
o o
+-----------------------------oOO-(_)-OOo----------------------------+
| |
| Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
| E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
| Team AMIGA \/// 18MB - CD4x |
| |
| Amos Professional Team Coordinator AMIGA RULEZ!! |
| |
+--------------------------------------------------------------------+